package business;

import java.util.regex.Pattern;
import javax.ejb.EJB;
import javax.ejb.Stateless;

@Stateless
public class ValidationService {
    
    @EJB
    private UserManager userManager;
    
    public boolean existUsername(String username) {
        return userManager.exist(username);
    }
}
